$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .main {

    .links {
      display: flex;
      margin: 200/$f+vw 200/$f+vw 93/$f+vw 200/$f+vw;

      a,
      p,
      span {
        color: #000;
        font-size: 24/$f+vw;
        text-transform: uppercase;
      }

      a {
        transition: all 600ms;

        &:hover {
          color: #E60012;
        }
      }

      p {
        opacity: .6;
      }

      span {
        margin: 0 1vw;
      }
    }

    .section1 {
      margin: 0 200/$f+vw;
      display: flex;
      justify-content: space-between;
      gap: 50/$f+vw;

      .l {
        width: 45%;

        .p1 {
          display: flex;
          align-items: center;
          color: rgba(136, 136, 136, .6);
          font-size: 32/$f+vw;
          text-transform: uppercase;
          margin-top: 44/$f+vw;

          &::before {
            width: 113/$f+vw;
            height: 5/$f+vw;
            background: #E60012;
            content: '';
            display: block;
            margin-right: 24/$f+vw;
          }
        }

        .p2 {
          color: #000;
          font-size: 48/$f+vw;
          // text-transform: uppercase;
          margin: 23/$f+vw 0 70/$f+vw 0;
        }

        .des {
          color: #000;
          font-size: 24/$f+vw;
          line-height: 1.67;
        }
      }

      .r {
        width: 47%;

        img,
        video {
          width: 100%;
          display: block;
          object-fit: cover;
        }
      }
    }

    .section_process {
      margin: 117/$f+vw 200/$f+vw 134/$f+vw 200/$f+vw;

      .t {
        color: #000;
        font-size: 48/$f+vw;

        &::before {
          width: 113/$f+vw;
          height: 4/$f+vw;
          content: '';
          display: block;
          background: #E60012;
          margin-bottom: 25/$f+vw;
        }
      }

      .pic {
        margin: 43/$f+vw 0;
        display: block;
        img {
          width: 100%;
          display: block;
          object-fit: contain;
        }
      }
    }

    .section_products {
      margin: 0 200/$f+vw;

      .t {
        color: #000;
        font-size: 48/$f+vw;

        &::before {
          width: 113/$f+vw;
          height: 4/$f+vw;
          content: '';
          display: block;
          background: #E60012;
          margin-bottom: 25/$f+vw;
        }
      }

      .list {
        margin: 50/$f+vw 0 0 0;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        a {
          width: 48%;
          display: flex;
          justify-content: space-between;
          margin-bottom: 70/$f+vw;
          .img {
            width: 38%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0px 2px 50px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            img {
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
          }

          .text {
            width: 58%;

            .name {
              color: #E60012;
              font-size: 32/$f+vw;
              text-transform: uppercase;
              margin: 20/$f+vw 0 35/$f+vw 0;
            }

            .btn {
              width: 208/$f+vw;
              height: 59/$f+vw;
              background: #F6F6F6;
              display: flex;
              justify-content: center;
              align-items: center;
              transition: all 600ms;
              p{
                color: #000;
                font-size: 20/$f+vw;
                transition: all 600ms;
              }
              svg{
                margin-left: 17/$f+vw;
                width: 17/$f+vw;
                display: block;
                path{
                  transition: all 600ms;
                }
              }
            }
          }
          &:hover{
            .img{
              img{
                transform: scale(1.05);
              }
            }
            .text{
              .btn{
                background: #E60012;
                p{
                  color:white;
                }
                svg{
                  path{
                    stroke: white;
                  }
                }
              }
            }
          }
        }
      }
    }

    .section2 {
      margin: 80/$f+vw 200/$f+vw 45/$f+vw 200/$f+vw;
      .t {
        color: #000;
        font-size: 48/$f+vw;

        &::before {
          width: 113/$f+vw;
          height: 4/$f+vw;
          content: '';
          display: block;
          background: #E60012;
          margin-bottom: 25/$f+vw;
        }
      }

      .list {
        margin: 60/$f+vw 0;
        display: flex;
        justify-content: space-between;
        gap: 150/$f+vw;

        .item {
          width: 50%;

          .pic {
            overflow: hidden;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }

            &:hover {
              img {
                transform: scale(1.05);
              }
            }
          }

          .text {
            margin-top: 40/$f+vw;

            span {
              svg {
                width: 26/$f+vw;
                transform: translateY(2/$f+vw);
              }
            }

            font-size: 20/$f+vw;
            color:#1A202C;
            line-height: 2;
          }
        }
      }
    }

    .section3 {
      background: rgba(246, 246, 246, .5);
      padding: 120/$f+vw 200/$f+vw;
      display: flex;
      justify-content: space-between;

      .l {
        width: 48%;

        .t {
          color: #000;
          font-size: 48/$f+vw;

          &::before {
            width: 113/$f+vw;
            height: 4/$f+vw;
            content: '';
            display: block;
            background: #E60012;
            margin-bottom: 25/$f+vw;
          }
        }

        .list {
          margin-top: 88/$f+vw;

          a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 47/$f+vw;

            img {
              width: 41/$f+vw;
              display: block;
            }

            p {
              width: calc(98% - 2vw);
              color: #000;
              font-size: 32/$f+vw;
            }
          }

          a:last-child {
            margin-bottom: 0;
          }
        }
      }

      .r {
        width: 48%;
        overflow: hidden;

        img {
          width: 100%;
          display: block;
          object-fit: cover;
          transition: all 600ms;
        }

        &:hover {
          img {
            transform: scale(1.05);
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 100px;

    .main {

      .links {
        margin: 0 5%;
        flex-wrap: wrap;
        a,
        p,
        span {
          font-size: 14px;
          line-height: 1.8;
        }
      }

      .section1 {
        margin: 40px 5%;
        flex-direction: column;

        .l {
          width: 100%;

          .p1 {
            font-size: 18px;

            &::before {
              height: 1px;
              width: 53px;
            }
          }

          .p2 {
            font-size: 24px;
            margin: 20px 0;
          }

          .des {
            font-size: 16px;
          }
        }

        .r {
          width: 100%;
          margin-top: 20px;
        }
      }

      .section_process{
        margin: 0 5%;
        .t {
          font-size: 28px;

          &::before {
            width: 60px;
            height: 2px;
            margin-bottom: 15px;
          }
        }
        .pic{
           margin: 30px 0;
        }
      }

      .section_products{
        margin: 0 5%;
        .t {
          font-size: 28px;

          &::before {
            width: 60px;
            height: 2px;
            margin-bottom: 15px;
          }
        }
        .list{
          a{
            width: 100%;
            flex-direction: column;
            margin-bottom: 40px;
            .img{
              width: 100%;
            }
            .text{
              width: 100%;
              .name{
                font-size: 18px;
                margin: 20px 0;
              }
              .btn{
                padding: 15px 20px;
                width: fit-content;
                p{
                  font-size: 16px;
                }
                svg{
                  width: 15px;
                  margin-left: 10px;
                }
              }
            }
          }
        }
      }


      .section2 {
        margin: 40px 5%;

        .t {
          font-size: 28px;

          &::before {
            width: 60px;
            height: 2px;
            margin-bottom: 15px;
          }
        }

        .list {
          flex-direction: column;
          margin-top: 30px;
          .item{
            width: 100%;

            .text {
              font-size: 16px;
              margin-top: 15px;

              span {
                svg {
                  width: 10px;
                  transform: translateY(5px)
                }
              }
            }
          }
        }
      }

      .section3 {
        padding: 50px 5%;
        flex-direction: column;

        .l {
          width: 100%;

          .t {
            font-size: 28px;

            &::before {
              width: 60px;
              height: 2px;
              margin-bottom: 15px;
            }
          }

          .list {
            margin: 30px 0;

            a {
              margin-bottom: 20px;

              img {
                width: 30px;
              }

              p {
                width: calc(98% - 30px);
                font-size: 18px;
              }
            }
          }
        }

        .r {
          width: 100%;
        }
      }
    }
  }
}